package com.lfy.modules.safety.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName black_list
 */
@TableName(value ="black_list")
@Data
public class BlackList implements Serializable {
    /**
     * 
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "ip")
    private String ip;

    /**
     * 归属地
     */
    @TableField(value = "ip_address")
    private String ipAddress;

    /**
     * 封禁原因：0-限流
     */
    @TableField(value = "because")
    private Integer because;
    @TableField(value = "remarks")
    private String remarks;
    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}